Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v21.3.9 #504

Merged
merged 48 commits into from
Apr 1, 2023
Merged

v21.3.9 #504

merged 48 commits into from
Apr 1, 2023

Conversation

bmaltais
Copy link
Owner

@bmaltais bmaltais commented Apr 1, 2023

  • 2023/04/01 (v21.3.9)
    • Update how setup is done on Windows by introducing a setup.bat script. This will make it easier to install/re-install on Windows if needed. Many thanks to @missionfloyd for his PR: Add setup/upgrade batch files #496
    • Fix issue with WD14 caption script by applying a custom fix to kohya_ss code.

Vertana and others added 30 commits March 27, 2023 12:37
Install scripts have been consolidated for every non-Windows OS. Python Requirements were consolidated. README improved to work locally and provide more information.
Small comment added to clarify the purpose of the script for casual viewers.
Removed an unnecessary debug line.
Linux distribution detection is much more robust. We also now include the Linux distribution family. That should help downstream Linux distributions as well. For example, Manjaro will now be detected as arch and Mint Linux will be detected as Ubuntu.
Fixed install commands to not require user input.
Script now accepts long and short arguments. Script should now help with a runpod environment and ensure apt cache is updated before package install attempt.
Changed runpod detection to a variable to simplify maintenance and provide a mechanism for the user to force a runpod installation. Also, updated help message to acount for the change.
Default to master branch (user can override with an argument), update the repo if we find a git folder but no venv folder (indicating blank env), rename BASE_DIR to PARENT_DIR to be more obvious, enable PARENT_DIR to account for an arbitrary amount of folders.
Ubuntu dpkg detection fixed and more output for detected distros.
Some environments can't run setup.sh interactively. This will be convenient for those users.
We now warn the user with a nicely formatted message if they have less than 10Gb space free and offer a 10s window to cancel operations. We now try to configure accelerate with no user input by default, but allow an override.
Better inform the user what is happening. Upon successful configuration file copy operation, we notify the user where that config is located. Also added small sleep step before calling accelerate config to give the user a chance to read the message.
This adds the ability for an extra switch to expose a public URL. We default to private.
Better default install locations and updated the README to reflect.
Just a typo fix and added a word in an echo statement.
Huge reorg to account for macOS and other non-Linux OSs. Verbosity levels 1-3 added (used by FDs 3-5). Simplified code by creating more shared functions.
Integrated upgrade.sh functionality, consolidated code to install dependencies, added ability to skip git operations, ensured the script can run from anywhere aimed at installation anywhere, ensured all git commnds worked from anywhere aimed at target folder, normalized specified install directory names (always get the absolute path).
jstayco and others added 18 commits March 31, 2023 17:24
More safeties and more code consolidation. Now we try to exit the python venv after all the python operations. All the python operations were consolidated to facilitate this.
Updates README to cover new location change and adds one small comment to clarify a variable
Made python and the requirements.txt location independent.
Removed the cd commands in the process
removed all cd commands in process
And more error messages in verbose mode
Consolidated Install/Launch Scripts and Improve README
…ipts"

This reverts commit b7a719b, reversing
changes made to 538752c.
…_scripts

Revert "Consolidated Install/Launch Scripts and Improve README"
@bmaltais bmaltais merged commit af0df34 into master Apr 1, 2023
bmaltais pushed a commit that referenced this pull request May 15, 2023
TOML support for sample prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants